package com.stone.persistent.recyclerview.adapter;

import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentActivity;
import androidx.viewpager2.adapter.FragmentStateAdapter;

import com.stone.persistent.recyclerview.fragment.FeedsFragment;

import org.jetbrains.annotations.NotNull;


public class FeedsPagerAdapter extends FragmentStateAdapter {
    @NotNull
    public Fragment createFragment(int position) {
        return new FeedsFragment();
    }

    public int getItemCount() {
        return 5;
    }

    public FeedsPagerAdapter(@NotNull FragmentActivity fragmentActivity) {
        super(fragmentActivity);
    }
}